package com.hirsi.module.auth.vo.param;

import com.hirsi.common.core.validator.annotation.Phone;
import com.hirsi.common.core.validator.annotation.PhoneCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel("注册账号验证手机号码")
@Data
public class RegisterCheckPhoneParam {

    @ApiModelProperty(value = "手机号码", required = true, position = 2)
    @Phone
    private String phone;

    @ApiModelProperty(value = "短信验证码", required = true, position = 3)
    @PhoneCode
    private String phoneCode;
}
